package com.atguigu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * ClassName: MySpringBoot
 * Package: com.atguigu
 * Description:
 *
 * @Author coderwqb
 * @Create 2025/2/18 16:23
 * @Version 1.0
 */
@SpringBootApplication
public class MySpringBoot {
    public static void main(String[] args) {
        var ioc = SpringApplication.run(MySpringBoot.class, args);
        String[] names = ioc.getBeanDefinitionNames();
        int count=0;
        for (String name : names) {
            System.out.println(name);
            count++;
        }
        System.out.println("master first commit");
        System.out.println("dev second commit");
        System.out.println(count);

    }
}
